home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Expander / Expander Classes / CExpanderTitle.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  658 b   |  30 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3.  
  4. #include "CExpanderLabel.h"
  5.  
  6.  
  7. class CExpanderRsrcLabel : public CExpanderLabel {
  8.  
  9. TCL_DECLARE_CLASS
  10.  
  11. protected:
  12.     virtual short    CalcFrameWidth( void );
  13.  
  14.  
  15. public:
  16.     CExpanderRsrcLabel();
  17.     CExpanderRsrcLabel( CView *anEnclosure, CBureaucrat *aSupervisor, short anRsrcID,
  18.                     short aWidth = 0, short aHeight = 0, short aHLoc = 0, short aVLoc = 0,
  19.                     SizingOption aHSizing = sizFIXEDSTICKY, 
  20.                     SizingOption aVSizing = sizFIXEDSTICKY );
  21.     virtual ~CExpanderRsrcLabel();
  22.  
  23.     virtual void    DrawLabel( Rect *area );
  24.  
  25.     virtual void    SetLabelRsrcID( short anRsrcID );
  26.  
  27.     virtual void    PutTo( CStream &stream );
  28.     virtual void    GetFrom( CStream &stream );
  29. };
  30.